<template>
  <div class="border rounded-lg p-4 shadow-sm bg-white">
    <h2 v-if="title" class="text-lg font-semibold mb-2">{{ title }}</h2>
    <slot />
  </div>
</template>

<script setup lang="ts">
defineProps<{
  title?: string
}>()
</script>